/**
 *  LocalLocation.java : IceBird project
 *  18:45:19 
 */
package icebird.compiler.ncomp.vs;

/**
 * tem with this location must be local variable
 * (Or argument) (EBP Releative).
 * @author Sergey Shulepoff[Knott]
 */
public final class LocalLocation extends Location {

	private int offset;
	
	public LocalLocation(int offset) {
		super("Local(" + offset + ")");
		this.offset = offset;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	/* (non-Javadoc)
	 * @see icebird.compiler.ncomp.vs.Location#getWeight()
	 */
	public int getWeight() {
		return 6;
	}
}
